package com.gljx.web.dao;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.TrainCharge;
import com.gljx.web.Entity.JournalEntry.TrainCollect;
import org.springframework.stereotype.Component;

@Component
public interface TrainChargeMapper {
    int deleteByPrimaryKey(String fid);

    int insert(TrainCharge record);

    int insertSelective(TrainCharge record);

    TrainCharge selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(TrainCharge record);

    int updateByPrimaryKey(TrainCharge record);

    List<TrainCollect> selectTrainChargeByTime(Map<String, String> map);

    List<TrainCollect> selectMakeupChargeByTime(Map<String, String> map);

    List<TrainCollect> selectWillmigerlByTime(Map<String, String> map);

    List<TrainCollect> selectTranSferByTime(Map<String, String> map);

    List<TrainCollect> selectTurnexamCostByTime(Map<String, String> map);

    List<TrainCollect> selectReturnPremiumByTime(Map<String, String> map);

    List<TrainCollect> selectOwnCarTrainByTime(Map<String, String> map);

    List<TrainCollect> selectOtherPayDemandByTime(Map<String, String> map);

    List<TrainCollect> selectTimeCardByTime(Map<String, String> map);

    List<TrainCharge> selectTrainCharge(Map<String, String> map);

    TrainCharge selectTrainChargePrice(Map<String, String> map);

}